package com.ruoyi.attendance.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 签到对象 sign_record
 * 
 * @author Weiney
 * @date 2025-03-04
 */
public class SignRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 签到记录ID */
    @Excel(name = "签到记录ID")
    private Long signId;

    /** 当前课程记录ID，用来和考勤信息表关联 */
    @Excel(name = "当前课程记录ID，用来和考勤信息表关联")
    private Long courseRecordId;

    /** 学生ID */
    private Long userId;

    /** 部门ID */
    private Long deptId;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date signTime;

    /** 签到状态 */
    @Excel(name = "签到状态")
    private Long signStatus;

    public void setSignId(Long signId) 
    {
        this.signId = signId;
    }

    public Long getSignId() 
    {
        return signId;
    }
    public void setCourseRecordId(Long courseRecordId) 
    {
        this.courseRecordId = courseRecordId;
    }

    public Long getCourseRecordId() 
    {
        return courseRecordId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setSignTime(Date signTime) 
    {
        this.signTime = signTime;
    }

    public Date getSignTime() 
    {
        return signTime;
    }
    public void setSignStatus(Long signStatus) 
    {
        this.signStatus = signStatus;
    }

    public Long getSignStatus() 
    {
        return signStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("signId", getSignId())
            .append("courseRecordId", getCourseRecordId())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("signTime", getSignTime())
            .append("signStatus", getSignStatus())
            .append("remark", getRemark())
            .toString();
    }
}
